home *** CD-ROM | disk | FTP | other *** search
- { %filename% -- subwindow methods }
- { Created %date% %time% by AppMaker }
-
- { We recommend that you not modify this module and instead modify }
- { its subclass, %WindName%. The 'z' prefix on this module marks% %}
- { a module which is likely to be regenerated by AppMaker after you }
- { make changes to the user interface. The modules without the 'z' }
- { prefix will not be regenerated by AppMaker unless you delete them. }
- { Using a separate subclass to override the AppMaker-generated code }
- { lets you regenerate code without losing your hand-coded changes. }
-
- Unit %unitname%;
- Interface
-
- Uses
- TCL,
- AMCL,
- %AppName%Intf;
-
- {----------}
- Implementation
-
- {----------}
- Procedure Z%WindName%.IZ%WindName% (aSupervisor: CDirector);
- var
- enclosure: CView;
- supervisor: CBureaucrat;
- aSizeBox: CSizeBox;
- Begin
- inherited IDirector (aSupervisor);
-
- New (itsWindow);
- %if procID = 3200%
- itsWindow.IWindow (%WindName%ID, true, gDesktop, self); {floating}
- %else%
- itsWindow.IWindow (%WindName%ID, false, gDesktop, self);
- %endif%
-
- enclosure := itsWindow;
- supervisor := self;
- %for each item gen create%
-
- %if has growBox%
- New (aSizeBox);
- aSizeBox.ISizeBox (enclosure, supervisor);
- %endif%
-
- End; {I%WindName%}
-
- %for each item gen zAuxiliaryMethod%
- {----------}
- Procedure Z%WindName%.DoCommand (theCommand: longint);
- Begin
- case theCommand of
- 0: ;
- otherwise
- inherited DoCommand (theCommand);
- end; {case}
- End; {DoCommand}
-
- End. {%unitname%}
-